#!/bin/bash
#

for name in $(cat /etc/passwd);do
    case $1 in
      bash)
	echo "$(grep "bash$" /etc/passwd | wc -l)"
	exit 78
        ;;
      nologin)
        echo "$(grep "nologin$" /etc/passwd | wc -l)"
	exit 79
    esac
done
